package com.atguigu.gmall.scheduled.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@ApiModel("购物项")
@Data
public class CartInfo {
    private Long id;
    private String userId;
    private String skuId;
    //check是mysql的关键字
    @TableField(value = "`check`")
    private Boolean check;
    private String title;
    private String defaultImage;
    private BigDecimal price;
    private Integer count;
    private Boolean store = false;
    @ApiModelProperty("销售属性（json格式）")
    private String saleAttrs;
    @ApiModelProperty("营销信息（json格式）")
    private String sales;
}
